<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui"
                template="./template.xhtml">

    <ui:define name="title">
        Phân quyền
    </ui:define>

    <ui:define name="content">
        <h:form>
            <p:commandButton immediate="true" ajax="false" action="permissionTab1-resource?faces-redirect=true" value="Chức năng"/>
            <p:commandButton immediate="true" ajax="false" action="permissionTab2-permission?faces-redirect=true" value="Quyền"/>
        </h:form>
        <br/>
        <p:panel>
            <ui:insert name="tabContent"></ui:insert>
        </p:panel>
    </ui:define>

</ui:composition>
